class Student:
    def __init__(self, name, score):  # 构造方法
        self.name = name
        self.score = score

    def say_score(self):
        print('{0}的分数是：{1}'.format(self.name, self.score))


s1 = Student('关关雎鸠', 18)
s1.say_score()
